STEP 6: We can create more points by adding more values to the list we are looping through!

Let's draw some points on the left side of the graph.

  • Go into your program and place your cursor after the 3 in your inputs list.
  • Type a comma after the 3 and enter 3 negative integers, like this: inputs·=·[1,·2,·3,·-1,·-2,·-3]¬
  • Run the program. You've created 3 more points, this time with negative x and y values!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)